package hellfire.game;

import hellfire.platform.graphics.ChickenDebrisRenderer;
import hellfire.platform.graphics.ChickenRenderer;
import hellfire.system.graphics.GLVec2;

public class ChickenDebris 
{
	private Chicken chicken;
	
	private GLVec2 pos, dim;
	
	private ChickenDebrisRenderer renderer;
	
	public ChickenDebris(Chicken chicken)
	{
		this.chicken = chicken;
		pos = chicken.getRenderPos();
		dim = new GLVec2(0.3, 0.3);
		renderer = new ChickenDebrisRenderer(this);
	}

	public GLVec2 getRenderPos()
	{
		return pos;
	}
	
	public GLVec2 getRenderDim()
	{
		return dim;
	}
	
	public Chicken getChicken()
	{
		return this.chicken;
	}
	
	public void gameFrame(Game game)
	{
		renderer.gameFrame();
	}
	
	public ChickenDebrisRenderer getRenderer()
	{
		return renderer;
	}
	
}
